set r=%RANDOM%
echo "Starting reader and writer on port %r%"      
start "HH CHAT" cmd /c "java -classpath target/client-1.0.jar ru.hh.school.ClientChatConsole %r% %1%"
start "HH CHAT INPUT" cmd /c "java -classpath target/client-1.0.jar ru.hh.school.ClientInputConsole %r%"